package com.jiayu.wheel;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author Administrator
 */
@EnableCaching // 开启缓存，默认用Collection实现
@ServletComponentScan
@SpringBootApplication
@EnableRedisHttpSession // 开启基于Redis的共享Session
public class WheelApplication {

	public static void main(String[] args) {
		SpringApplication.run(WheelApplication.class, args);
	}

}
